popover: Set input shapes on wayland too
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 May 2019 00:00:44 +0000 (00:00 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:16 +0000 (20:25 +0000)
No reason not to do it. Wayland has input shapes.

gtk/gtkpopover.c

index aaac8a1b95629b3e8014aff7fb021da61c2581fa..cbbce94622ac16ea1957e06ac30f0223a1263402 100644 (file)
@@ -968,11 +968,6 @@ gtk_popover_update_shape (GtkPopover *popover)
   cairo_region_t *region;
   cairo_t *cr;
 
-#ifdef GDK_WINDOWING_WAYLAND
-  if (GDK_IS_WAYLAND_DISPLAY (gtk_widget_get_display (widget)))
-    return;
-#endif
-
   cairo_surface =
     gdk_surface_create_similar_surface (priv->surface,
                                        CAIRO_CONTENT_COLOR_ALPHA,